
#player {
	height: 100%;
	position: relative;
}

@sreen-width: 750;
@ptools-height: ~"110 / "@sreen-width ~"* 100vw";
@item-height-bl: 40 / 110;

.player-tools{
    position: relative;
    width: 100%;
    padding: 0;
    height: calc(@ptools-height);
    background-color: #000;
    
}

.tools_item {
	width: 36.5vw;
	height: calc(@ptools-height~"*" @item-height-bl);
	color: #59636d;
	justify-content: center;
	display: flex;
    line-height: calc(30 / @sreen-width * 100vw);
}

.player-operating{
	padding: calc(~"(" @ptools-height~"*" 1 - @item-height-bl ~"/ 2)");;
	margin: 0 auto;
}

.liu_btns {
	width: 100%;	
	height: 100%;
}
.liu_btns a {
    width: calc(127 / @sreen-width * 100vw);
	color: #b4b4b4;
	font-size:  calc(3.0vw);
    border-radius: 0.8vw;
    height: 100%;
    line-height: calc(40 / @sreen-width * 100vw);
    text-align: center;
}
.liu_btns a.active {
	color: #fff;
    background-color: #00479d;
}
.liu_btns a.onplayer {
	color: #c5f7f6;
}
.video-box-a{
    position: inherit;
    width: 100%;
    height: calc(720/1125*100vw);
}
.video-box-b{
	position: inherit;
	width: 100vw;
	height: 100vh;
	padding :0;
}
.player-box-a{
    position: relative;
    width: 100%;
    height: 100vw;
    overflow: hidden;
    background: red;
}
.player-box-b{
	position: relative;
	width: 100vw;
	height: 100vh;
}

.chat-box{
    position: relative;
    width: 100vw;
    /*聊天窗高度=100vh - 视频窗高度*/
    height: ~"calc(100vh - 626/"@sreen-width~"*100vw)";
}

@msg-send-btn-height: 98/@sreen-width * 100vw;
@msg-p1: ~"calc(70/"@sreen-width~"*100vw)";
@msg-p2: ~"calc(32/"@sreen-width~"*100vw)";

.msg{
    top: 0;
    height: calc(~"100vh - 626/"@sreen-width~"*100vw - " @msg-p2~"*2" ~"-" @msg-send-btn-height);
    right: 0;
    bottom: 42px;
    left: 0;
    overflow: hidden;
    background: #1b1b1b;
    z-index: 1;

    padding: @msg-p2 @msg-p2 @msg-p2 @msg-p1;
}
.msg-send{
    position: absolute;
    bottom: 0px;
    height: calc(@msg-send-btn-height);
    width: 100%;
    background-color: rgba(0,0,0,0.5);
    overflow: hidden;
    display: block;
}
.msg-send-div{
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    height: calc(@msg-send-btn-height - 26/@sreen-width*100vw*2);
    width: calc(548/@sreen-width*100vw - 26/@sreen-width*100vw * 2);
    padding: calc(26/@sreen-width*100vw);
    background: #fff;
}
.msg-send .msg-send-input {
    width: 100%;
    text-align: left;
    height: 100%;
    line-height: calc(100%);
    color: #333 !important;
    text-indent: 1rem;
    background-color: #fff;
    font-size: calc(24/@sreen-width*100vw);
}
.msg-send .msg-send-input::-webkit-input-placeholder{
	color: #959595;
}
.msg-send .msg-send-btn {
    right: 0;
    top: 0;
    padding: 0;
    width: calc(202/@sreen-width*100vw);
    height: 100%;
    line-height: calc(@msg-send-btn-height);
    text-align: center;
    color: #fff;
    position: absolute;
    z-index: 1;
    background-color: #e60012;
	font-size: calc(24/@sreen-width*100vw);
    font-family: 微软雅黑;
}
.msg-send .msg-send-btn:active{
	opacity: 0.5;
}

.msg-swiper{
    width: 96%;
    height: 100%;
    padding: 0 4vw 0 0;
}
.msg-swiper .swiper-slide{
    height: auto;
}

.msg-swiper .swiper-scrollbar {
	background: #323232 !important;
    width: 4px !important;
    right: 15px !important;
    left: auto !important;
    margin: 0 !important;
    position: absolute !important;
    top: 0 !important;
    height: 95% !important;
}

.msg-swiper .swiper-scrollbar .swiper-scrollbar-drag {
    border-radius: 10px;
    height: 5vw;
    position: absolute;
    background: #fff !important;
    width: 3vw !important;
    left: ~"calc(-3vw / 2 + 2px)";
}

.waiting{
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 1;
	background-color: rgba(0,0,0,0.5);
}
.waiting-inner{
	background-color: #fff;
	width: 15px;
	height: 15px;
	border-radius: 100%;
	-webkit-animation-fill-mode: both;
	      animation-fill-mode: both;
	border: 2px solid #fff;
	border-bottom-color: transparent;
	height: 25px;
	width: 25px;
	background: transparent !important;
	display: inline-block;
	position: absolute;
	left: 50%;
	top: 50%;
	margin: -15px 0px 0px -15px;
	-webkit-animation: rotate 0.75s 0s linear infinite;
	      animation: rotate 0.75s 0s linear infinite;
}

@keyframes rotate {
  0% {
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg); }

  50% {
    -webkit-transform: rotate(180deg);
            transform: rotate(180deg); }

  100% {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg)} }

.msg-box ul li{
	padding: 0px 2.5%;
	position: relative;
}
.barrage-msg-goods{
	text-align: center;
}
.barrage-msg-comeing{
	display: inline-block;
	border-radius: 20px;
	padding: 2px 10px 2px 0px;
	color: #ffe56b;
	font-size: 1.4rem;
	text-shadow: 1px 1px 1px rgba(0,0,0,1);
}
.barrage-msg-red{
    display: inline-block;
    padding: 3px 10px;
    line-height: 1.5;
    border-radius: 4px;
    background-color: rgba(224,78,79,0.1);
    color: #ce2b2c;
    font-size: 1.2rem;
    text-align: center;
	line-height: 1.2;
}
.barrage-msg-red .icon-red{
    display: inline-block;
    width: 8px;
    height: 10px;
    background: url(../images/mobile/mobile/icon-red.png) center center no-repeat;
    background-size: 100%;
    position:relative;
    top: 1px;
    left: 0px;
    margin-right: 5px;
}
.barrage-msg-gold{
	display: inline-block;
	padding:5px 10px;
	border-radius: 4px;
	background-color: rgba(255,195,116,0.3);
	color: #cb7a10;
	font-size: 1.2rem;
	text-align: center;
	line-height: 1.2;
}
.barrage-msg-gold .icon-gold{
	display: inline-block;
	width: 10px;
	height: 10px;
	background: url(../images/mobile/mobile/icon-gold.png) center center no-repeat;
	background-size: 100%;
    position:relative;
    top: 1px;
    left: 0px;
    margin-right: 5px;
}
.barrage-msg-logourl{
	display: inline-block;
	width: 30px;
	height: 30px;
	line-height: 0;
	border-radius: 50%;
	position: absolute;
	left: 10px;
	top: 0px;
}
.barrage-msg-text{
	display: inline-block;
	padding:6px 12px;
	line-height: 1.5;
	word-break:break-all;
	font-size: 1.4rem;
	background-color: rgba(255,255,255,0.1);
	border-radius: 3px;
	color: #d8d8d8;
	margin-left: 40px;
	max-width: 90%;
}
@barrage-msg-font-size: 24;
.barrage-msg-user{
	font-size: calc(@barrage-msg-font-size / @sreen-width * 100vw);
	margin-bottom: 2px;
	font-family: "微软雅黑", arial;
}
.barrage-msg-word{
	line-height: 1.5;
	width: 100%;
    word-wrap: break-word;
    word-break: break-all;
    color: #b8b8b8;
    font-size: calc(@barrage-msg-font-size / @sreen-width * 100vw);
}
.barrage-msg-user.color-fff{
	color: #b8b8b8;
	font-family: "微软雅黑";
}
.barrage-msg-user.color-a276ff{
	color:#8b8b8b;
}
.red-msg{
	width: 194px;
	height: 80px;
	background-color: #fff;
	border-radius: 5px;
	overflow: hidden;
	margin-left: 40px;
	border: 1px solid rgba(204,204,204,0.5);
	position: relative;
}
.red-msg button{
	opacity: 0;
	position: absolute;
	display: block;
	width: 100%;
	height: 100%;
	z-index: 1;
	top: 0;
	right:0;
	bottom: 0;
	left: 0;
}

.red-msg-top{
	width: 174px;
	height: 40px;
	padding: 10px;
	background-color: #d1353d;
	background-image: url(../images/mobile/mobile/red-element.png);
	background-size: cover;
}
.red-msg-nickname{
	color: #f7c35b;
	font-size: 1.3rem;
	line-height: 15px;
}
.red-msg-bless{
	color: #fff;
	font-size: 1.3rem;
	line-height: 25px;
	white-space:nowrap;
	overflow:hidden;
	text-overflow:ellipsis;
}
.red-msg-bottom{
	height: 20px;
	line-height: 20px;
	background-color: #fff;
	font-size: 0.8rem;
	text-indent: 10px;
	color: #aaa;
}
.barrage-more{
	width: 100px;
	height: 21px;
	line-height: 21px;
	background-color: rgba(255,255,255,0.5);
	color: #fff;
	position: absolute;
	right: 10px;
	bottom: 0px;
	border:2px solid #fff;
	border-radius: 5px;
	z-index: 1;
	text-align: center;
	letter-spacing: 2px;
	opacity: 0.8;
	display: none;
}
.landscape .video-error{
	height: calc(100vw/(16/9));
}
.landscape .player-waiting{
	height: calc(100vw/(16/9));
}
.landscape .video-set{
	height: calc(100vw/(16/9));
	line-height: calc(100vw/(16/9));
}
.landscape .player-control-bar{
	top: calc(-40px + 100vw/(16/9));
}

.full-screen-btn{
	position: absolute;
    right: 48px;
    bottom: 8px;
    height: 20px;
    width: 20px;
    /* padding: 10px; */
    z-index: 198;
    text-align: center;
}

.full-screen-btn a.full {
    background: url(../images/mobile/toolbar.png) 85% 48% no-repeat;
    background-size: 75px;
    -moz-background-clip: content;
    -webkit-background-clip: content;
    background-clip: content;
}

.full-screen-btn a.small {
    background: url(../images/mobile/toolbar.png) 85% 90% no-repeat;
    background-size: 75px;
    -moz-background-clip: content;
    -webkit-background-clip: content;
    background-clip: content;
}

.full-screen-btn a{
    font-size: 14px;
    color: #fff;
    width: 100%;
    height: 100%;
    display: block;
}

.video-box-full {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    z-index: 19999;
    height: 100vh !important;
    width: 100vw !important;
    background: #000;
}

#draw_rules_box {
    position: fixed;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    top: 0;
    left: 0;
    z-index: 198;
}

#draw_rules_box .close {
    position: absolute;
    right: 15px;
    top: 15px;
    font-size: calc(30/@sreen-width*100vw);
    line-height: calc(23/@sreen-width*100vw);
    cursor: pointer;
    color: #fff;
    opacity: 1;
}

#draw_rules_box .txtbox {
	background:-moz-linear-gradient(top, #f8554a, to(#df1110));
	background:-webkit-gradient(linear, 0 0, 0 bottom, from(#f8554a), to(#df1110));  
	width: 80vw;
	height: 80vh;
	margin: 0 auto;
	border-radius: 10px;
	color: #fff;
	padding: calc(35/@sreen-width*100vw);
	position: relative;
	top: calc(10vh - 35/@sreen-width*100vw);
	overflow: hidden;
}

#draw_rules_box .txtbox .title {
	line-height: calc(100/@sreen-width*100vw);
	font-size: calc(36/@sreen-width*100vw);
	text-align: center;
}

#draw_rules_box .txtbox .content {
	font-size: calc(24/@sreen-width*100vw);
	line-height: calc(30/@sreen-width*100vw);
	text-align: left;
	font-family: "微软雅黑", arial;
	height: auto !important;
	width: 95%;
}

.scrollbarbox{
    position: relative;
    width: 100%;
    margin-left: 0;
    height: calc(70vh - 100/@sreen-width*100vw);
}

.scrollbarbox .swiper-scrollbar {
	background: rgba(255, 255, 255, 0.3) !important;
	width: 8px !important;
	right: 8px !important;
}

.scrollbarbox .swiper-scrollbar .swiper-scrollbar-drag {
    border-radius: 10px;
    height: 5vw;
    position: absolute;
    background: #fff !important;
    width: 3vw !important;
    left: calc(-3vw / 2 + 4px);
}

.player-cover {
    background-size: contain !important;
}

.player-box .tools-msg {
    width: 100%;
    height: calc(55/@sreen-width*100vw);
}

.tools-msg .dm {
    border-radius: calc(30/@sreen-width*100vw);
    width: calc(115/@sreen-width*100vw - 20/@sreen-width*100vw * 2);
    height: calc(42/@sreen-width*100vw);
    line-height: calc(42/@sreen-width*100vw);
    color: #fff;
    text-align: right;
    padding: 0 calc(20/@sreen-width*100vw);
    font-size: calc(22/@sreen-width*100vw);
    border: 1px solid #22ac38;
    
    background: url('../images/public/dm_close_icon.png') calc(10/750*100vw) 56% no-repeat,#22ac38;
    background-size: calc(28/@sreen-width*100vw);
}

.tools-msg .dm.open {
    color: #22ac38;
    background: url('../images/public/dm_open_icon.png') 10px 56% no-repeat,transparent;
    background-size: calc(28/@sreen-width*100vw);
}

.watch-count{
    color: #bfbfbf;
    font-size: calc(23/@sreen-width*100vw);
    float: left;
    height: calc(42/@sreen-width*100vw);
    padding: 0px 10px;
    line-height: calc(42/@sreen-width*100vw);
    border-radius: 20px;
    
    .icon-people {
        font-size: calc(42/@sreen-width*100vw);
    }
    
    #watch-count {
        line-height: calc(42/@sreen-width*100vw);
        height: calc(42/@sreen-width*100vw);
        vertical-align: top;
    }
}

.vjs-poster {
    background-size: cover !important;   
}

.video-js{
    width: 100vw;
}
